# Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=kconfig-hardened-check
pkgver=0.5.17
pkgrel=0
pkgdesc="A tool for checking the security hardening options of the Linux kernel"
options="!check" # no test suite
url="https://github.com/a13xp0p0v/kconfig-hardened-check"
arch="aarch64 armhf armv7 x86 x86_64"
license="GPL-3.0-or-later"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/a13xp0p0v/kconfig-hardened-check/archive/refs/tags/v$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
06b52972426828218e1d82391b8fd44790b28edb6ca6602e2fdc0fe02019c7528308c147db7d8628fada6c2f57dbe3f6088b64a9a922a3ef92bee986eaf23d9f  kconfig-hardened-check-0.5.17.tar.gz
"
